<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8" />
    <title>login</title>

    <style type="text/css">


    </style>

</head>
<body>
    <h2>这是登陆页面1</h2>

<form  action="/login"  th:action="@{/login}" method="post" >
    <input name="username" type="text"/>
    <input name="password" type="password"/>
    <button type="submit">提交</button>
</form>


</body>
</html>